using System;
using System.Collections.Generic;
using System.Text;

namespace Garlic.CC.BaseClass
{
    //public enum UserType
    //{
    //   // JITDD, Supplier, EPS, RDC
    //    admin, other
    //}

	public enum UserStatus
    {
        Active, Stop
    }

	public enum UserToken
    {
        Login, Logout, Unknown 
    }

	public interface IUser
    {
        int UserID { get; set; }
        string AccountName { get; set; }
        string Password { get; set; }
        //UserType UserType { get;set;}
        string UserType { get; set; }
        string EmployeeName { get; set; }
        string Email { get; set; }
        string Mobile { get; set; }
        string OfficePhone { get; set; }
        

        UserStatus Status { get; set; }
        
        DateTime CreateTime { get; set; }
        IUser CreateUser { get; set; }
        DateTime ModifyTime { get; set; }
        IUser ModifyUser { get; set; }
        DateTime PasswordExpireTime { get; set; }
        
        List<string> Roles { get;set;}
        List<IUserResource> RightList { get;set;}

       
    }
}
